package ch03.test.service.impl;

import ch03.test.dao.CountDao;
import ch03.test.service.CountService;

public class CountServiceImpl implements CountService {

    private CountDao countDao;

    public void setCountDao(CountDao countDao) {
        this.countDao = countDao;
    }

    @Override
    public int calculate(int num1, int num2) {
        return countDao.calculate(num1, num2);
    }
}
